package org.com.behavioralPattern.interpreterPattern;

/**
 * @author Jonny
 * @version 1.0
 * @Description:
 * @date 2021/4/28 10:28
 */
public class Variable implements ArithmeticExpression {
    @Override
    public int interpret(Variables variables) {
        return variables.get(this);
    }
}
